Optimized and Prioritized Test Paths Generation from UML Activity Diagram using Firefly Algorithm
نویسنده
چکیده
Due to limited resources and challenging time schedule, software testing is usually performed in pressure to assure the fulfilment of the software requirements. Test case generation is a crucial activity of the software testing phase. Testing of all paths from Control Flow Graph is not feasible in software testing, due to limited time and cost. Generation of optimized test paths is a challenging part of the software testing process. In this paper, a new technique to obtain the optimized test paths from activity diagram designed through Unified Modeling Language is demonstrated. A modified algorithm called as Firefly algorithm is used to obtain the critical paths. A case study of air flight check-in is taken as a case study to explain the proposed approach. Paths are prioritized based on Information Flow Metric and their cyclomatic complexity. Obtained optimized paths have no redundancy and produced the better results.
منابع مشابه
A Novel Approach for Automated Test Path Generation using TABU Search Algorithm
Software testing is the last phase of the development cycle. The important role in software development is software Testing. In today’s software industry, the design of software tests is mostly based on the tester’s expertise, while test automation tools are limited to execution of preplanned tests only. Testing effort can be classified into three parts, they are test case generation, test exec...
متن کاملGenerating Prioritized Test Sequences Using Firefly Optimization Technique
The aim of this study is to propose an algorithm for generating minimal test sequences by applying Firefly optimization technique. In this study, we use state machine diagram for the behavioral specification of software. This paper generates the important test sequences for composite states in the state machine diagram under consideration. The generated test sequences are then prioritized based...
متن کاملGA-based Automatic Test Data Generation for UML State Diagrams with Parallel Paths
Automatic test data generation from a software specification prepares test cases for software developers before their code development phase. Having test cases before coding, helps the developers to control their code to conform to the specification. In state-based specifications, paths from the initial state to the final state may be varied, this is called parallel paths. In order to generate ...
متن کاملA Novel Approach for Optimized Test Case Generation Using Activity and Collaboration Diagram
Testing is the process of building confidence of the programmer that shows, the software does what it is intended to do, which in turn improves the reliability of the software. And automation of software testing process helps in achieving it with reduced cost and time. Test case generation is one part of the testing process with description of a test and independent of designed system, intended...
متن کاملA Novel Technique for Generation and Optimization of Test Cases Using Use Case, Sequence, Activity Diagram and Genetic Algorithm
This paper presents a novel approach for generation of test cases from UML design diagrams. In this new generation scheme, we have considered use case diagram, activity diagram and sequence diagram. Our approach consists of converting the use case diagram into use case diagram graph (UDG), activity diagram into activity diagram graph (ADG) and sequence diagram into sequence diagram graph (SDG)....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016